/********************************************************************************
*Class:  AddPlaceItemControl 
*Method: AddPlaceItemControl()
*Useage: used by class AddCityControl and AddPlaceControl 
*Notice: peopleNum is only used by class AddCityControl 
********************************************************************************/
public class AddPlaceItemControl 
{
    public Place__c pItem{get;set;}
    public Boolean IsCheck{get;set;}
    public integer peopleNum{get;set;}
    
    public AddPlaceItemControl(Place__c tem)
    {
        pItem=tem;
        IsCheck=false;
        peopleNum = 0;
        
    }
    
    public AddPlaceItemControl()
    {
        pItem=new Place__c();
        IsCheck=false;
        peopleNum = 0;
    }
    
    static testMethod void testThisItemControl()
    {
        AddPlaceItemControl testcase = new AddPlaceItemControl();
        Place__c tmp = new Place__c();
        AddPlaceItemControl testcasewithval = new AddPlaceItemControl(tmp);
        System.assert(testcase.IsCheck == false);
        System.assert(testcase.peopleNum == 0);
        System.assert(testcasewithval.IsCheck == false);
        System.assert(testcasewithval.peopleNum == 0);
     }    
}